<template>
	<view>
		<web-view :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: '',
				local:'zh'
			}
		},
		onLoad() {
			let locale = uni.getLocale()
			if(locale != 'en'){
				locale = 'zh'
			}else{
				locale = 'en'
			}
			this.url = '/hybrid/html/local.html?locale='+locale
		},
		methods: {

		}
	}
</script>

<style>

</style>
